package com.yqg.protection.controller.dto;

import com.alibaba.excel.annotation.ExcelProperty;
import com.yqg.protection.cover.BindingConverter;
import com.yqg.protection.cover.LocalDateTimeConverter;
import com.yqg.protection.cover.SIMStateConverter;
import com.yqg.protection.cover.SimBindingTypeConverter;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.time.LocalDateTime;

/**
 * ImportSimInputStoreDto类
 *
 * @author zxf
 * @since 2024-01-01
 */
@Data
public class ImportSimInputStoreDto {

    @ExcelProperty(value = "SIM卡号", index = 0)
    private String simId;

    @ExcelProperty(value = "组织ID", index = 1)
    private Long organization;

    @ExcelProperty(value = "单位ID", index = 2)
    @ApiModelProperty("单位ID")
    private Long clientId;

    @ExcelProperty(value = "入库时间", index = 3, converter = LocalDateTimeConverter.class)
    private LocalDateTime inputTime;

    @ExcelProperty(value = "状态(未开卡/正常/锁定)", index = 4, converter = SIMStateConverter.class)
    private String state;

    @ExcelProperty(value = "厂家", index = 5)
    private String manufactor;

    @ExcelProperty(value = "厂家电话", index = 6)
    private String manufactorPhone;

    @ExcelProperty(value = "激活日期", index = 7, converter = LocalDateTimeConverter.class)
    private LocalDateTime startTime;

    @ExcelProperty(value = "有效日期", index = 8, converter = LocalDateTimeConverter.class)
    private LocalDateTime time;

    @ExcelProperty(value = "套餐", index = 9)
    private String dataPackage;

    @ExcelProperty(value = "是否绑定设备(未绑定,已绑定)", index = 10, converter = BindingConverter.class)
    @ApiModelProperty("0未绑定设备 ，1已绑定设备")
    private Integer deviceBindingEquipment;

    @ExcelProperty(value = "设备类型(信息传输装置,监控设备)", index = 11, converter = SimBindingTypeConverter.class)
    @ApiModelProperty("0信息传输装置 ，1监控设备")
    private Integer deviceBindingType;

    @ExcelProperty(value = "绑定设备ID", index = 12)
    private Long equipmentInputStoreId;

    @ExcelProperty(value = "操作人ID", index = 13)
    private Long operatorId;

}
